package org.xxmi.simple.service.impl;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.xxmi.simple.mapper.SysUserMapper;
import org.xxmi.simple.model.SysUser;
import org.xxmi.simple.service.UserService;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private SysUserMapper userMapper;

    @Override
    public SysUser getUser() {
        return userMapper.selectByPrimaryKey(1L);
    }
}
